var express = require('express');
var router = express.Router();
var UserController=require('../controllers/usersControllers')

//获取数据
router.get('/users', UserController.getUsers)

//添加数据 
router.post('/users', UserController.addUsers)

//修改数据
router.put('/users', UserController.updateUsers)

//删除数据
router.delete('/users', UserController.deleteUsers)


module.exports = router;
